package com.googlecode.yatspec.parsing;

public class TestMethodCollectors {

    public static TestMethodCollector create(Class aClass) {
        if (JavaTestMethodCollector.canCollectMethodsFor(aClass)) {
            return new JavaTestMethodCollector();
        }
        return new ScalaTestMethodCollector();
    }
}
